home *** CD-ROM | disk | FTP | other *** search
/ IRIX 6.3 Development Libraries / SGI IRIX 6.3 Development Libraries.iso / dist / dist6.3 / gl_dev.idb / usr / include / gl / glws.h.z / glws.h
C/C++ Source or Header  |  1996-12-06  |  1KB  |  46 lines

  1. #ifndef __GLWS_H__
  2. #define __GLWS_H__
  3.  
  4. #include    <X11/X.h>
  5. #include    <X11/Xlib.h>
  6. #include    <gl/gl.h>
  7.  
  8. #define    GLWS_NOERROR    0
  9. #define GLWS_NOCONTEXT    -1
  10. #define GLWS_NODISPLAY    -2
  11. #define GLWS_NOWINDOW    -3
  12. #define GLWS_NOGRAPHICS    -4
  13. #define GLWS_NOTTOP    -5    /* Window is not a top level window */
  14. #define GLWS_NOVISUAL    -6
  15. #define GLWS_BUFSIZE    -7    /* Buffer too small */
  16. #define GLWS_BADWINDOW    -8
  17.  
  18. #define GLWS_ALREADYBOUND    -100    /* Context already bound */
  19. #define GLWS_BINDFAILED        -101
  20. #define GLWS_SETFAILED        -102
  21.  
  22. #define GLX_NORMAL    0x1000
  23. #define GLX_OVERLAY    0x2000
  24. #define GLX_POPUP    0x3000
  25. #define GLX_UNDERLAY    0x4000
  26.  
  27. #define GLX_RGB        0x0001
  28. #define GLX_DOUBLE    0x0002
  29. #define GLX_ZSIZE    0x0003
  30. #define GLX_BUFSIZE    0x0004
  31. #define GLX_STENSIZE    0x0005
  32. #define GLX_ACSIZE    0x0006
  33. #define GLX_VISUAL    0x0007
  34. #define GLX_COLORMAP    0x0008
  35. #define GLX_WINDOW    0x0009
  36. #define GLX_MSSAMPLE    0x000a
  37. #define GLX_MSZSIZE    0x000b
  38. #define GLX_MSSSIZE    0x000c
  39. #define GLX_STEREOBUF    0x000d
  40. #define GLX_RGBSIZE    0x000e
  41.  
  42. #define GLX_NONE    0
  43. #define GLX_NOCONFIG    0x7fff
  44.  
  45. #endif /* __GLWS_H__ */
  46.